/////////////////////////////////////////////////////////////////////////
//
// Amuse Engine - graphics
// Copyright (c) 2014.  All Rights Reserved
//
// File:		AEContextViewProperties.inl
// Author:		Gianluca Belardelli
// Date:		12/12/2014
//
/////////////////////////////////////////////////////////////////////////
#ifndef _AECONTEXTVIEWPROPERTIES_INL_
#define _AECONTEXTVIEWPROPERTIES_INL_

AE_FORCEINLINE AEProjectionType AEContextViewProperties::GetProjectionType( void )
{
	return m_eProjectionType;
}
/*
AE_DLLIMPEXP void AEContextViewProperties::GetFov( AEFLOAT32 &fFovX, AEFLOAT32 &fFovY ) const
{
	fFovX = m_fFovX;
	fFovY = m_fFovY;
}

AE_DLLIMPEXP void AEContextViewProperties::GetFinalFov( AEFLOAT32 &fFovX, AEFLOAT32 &fFovY ) const
{
	fFovX = m_fFovX;
	fFovY = m_fFovY;
	//hkvMathHelpers::adjustFovsForAspectRatio(fFovX, fFovY, m_fDisplayAspectRatio);
}

AE_DLLIMPEXP AEFLOAT32 AEContextViewProperties::GetFovX( void ) const
{
	//AEASSERT(m_eProjectionType == VIS_PROJECTIONTYPE_PERSPECTIVE);
	return m_fFovX;
}

AE_DLLIMPEXP AEFLOAT32 AEContextViewProperties::GetFovY( void ) const
{
	//AEASSERT(m_eProjectionType == VIS_PROJECTIONTYPE_PERSPECTIVE);
	return m_fFovY;
}

AE_DLLIMPEXP void AEContextViewProperties::SetDisplayAspectRatio( AEFLOAT32 fDisplayAspectRatio )
{
	m_fDisplayAspectRatio = fDisplayAspectRatio;
	m_bIsDirty = 1;
}

AE_DLLIMPEXP AEFLOAT32 AEContextViewProperties::GetDisplayAspectRatio( void ) const
{
	return m_fDisplayAspectRatio;
}

AE_DLLIMPEXP AEFLOAT32 AEContextViewProperties::GetNear( void ) const
{
	return m_fNear;
}

AE_DLLIMPEXP AEFLOAT32 AEContextViewProperties::GetFar( void ) const
{
	return m_fFar;
}

AE_DLLIMPEXP void AEContextViewProperties::GetClipPlanes( AEFLOAT32 &fNear, AEFLOAT32 &fFar) const
{
	fNear = m_fNear;
	fFar = m_fFar;
}

AE_DLLIMPEXP void AEContextViewProperties::SetLODScaling( AEFLOAT32 fScale )
{
	AEASSERT(fScale>=0.f);
	m_fLODScale = fScale;
}

AE_DLLIMPEXP AEFLOAT32 AEContextViewProperties::GetLODScaling( void ) const
{
	return m_fLODScale;
}

AE_DLLIMPEXP AEFLOAT32 AEContextViewProperties::GetOrthographicWidth( void )
{
	//AEASSERT(m_eProjectionType == VIS_PROJECTIONTYPE_ORTHOGRAPHIC);
	return m_fOrthographicWidth;
}

/// \brief Returns the projection height previously set.
AE_DLLIMPEXP AEFLOAT32 AEContextViewProperties::GetOrthographicHeight( void )
{
	// AEASSERT(m_eProjectionType == VIS_PROJECTIONTYPE_ORTHOGRAPHIC);
	return m_fOrthographicHeight;
}
*/
#endif // _AECONTEXTVIEWPROPERTIES_INL_
